package com.java110.dto.storeOrder;

import com.java110.dto.PageDto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FloorDto
 * @Description 购物车数据层封装
 * @Author wuxw
 * @Date 2019/4/24 8:52
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
public class StoreOrderDto extends PageDto implements Serializable {


    //订单状态（0：待发货；1：待支付 ；2：待收货；3：已收货；4 待评价 5：已退款,6 : 申请退款 7 : 退货成功 ）
    public static final String STATE_WAIT_PAY = "1"; // 1：待支付
    public static final String STATE_FINISH_PAY = "8"; // 已完成
    public static final String STATE_WAIT_SEND = "0"; // 待发货
    public static final String STATE_WAIT_READY = "00"; // 备货
    public static final String STATE_STORE_VERIFICATION = "02"; // 到店核销
    public static final String STATE_WAIT_RECIVE = "2"; // 待收货
    public static final String STATE_WAIT_REPAIR = "4"; // 待评价
    public static final String STATE_RETURNED = "5"; // 已退款
    public static final String STATE_APPLY_RETURN = "6"; // 申请退款
    public static final String STATE_RETURN_SUCCESS = "7"; // 退货成功

    public static final String BUSINESS_KILL = "KILL";
    public static final String BUSINESS_GROUP = "GROUP";
    public static final String BUSINESS_NORMAL = "NORMAL";



    public static final String PROFIT_SHARING_WAIT = "W";
    public static final String PROFIT_SHARING_NO = "N";
    public static final String PROFIT_SHARING_FINISH = "F";

    private String personName;
    private String extOrderId;
    private String orderId;
    private String totalPrice;
    private String payPrice;
    private String personId;
    private String remark;
    private String oId;
    private String state;
    private String stateName;
    private String[] states;
    private String freightPrice;
    private String appId;
    private String appName;
    private String shopId;
    private String serviceFee;
    private String deduction;
    private String payOrderId;
    private String profitSharing;
    private String startTime;

    private String endTime;

    private Date createTime;

    private String statusCd = "0";

    private String cartType;

    private String cartCount;

    private String productId;

    private String cartId;
    private String prodName;
    private String cartNum;

    private String coverPhoto;

    private String business;

    private List<StoreOrderCartDto> storeOrderCartDtos;

    private StoreOrderAddressDto storeOrderAddressDto;

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getExtOrderId() {
        return extOrderId;
    }

    public void setExtOrderId(String extOrderId) {
        this.extOrderId = extOrderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(String payPrice) {
        this.payPrice = payPrice;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOId() {
        return oId;
    }

    public void setOId(String oId) {
        this.oId = oId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getFreightPrice() {
        return freightPrice;
    }

    public void setFreightPrice(String freightPrice) {
        this.freightPrice = freightPrice;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String[] getStates() {
        return states;
    }

    public void setStates(String[] states) {
        this.states = states;
    }

    public String getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(String serviceFee) {
        this.serviceFee = serviceFee;
    }

    public String getDeduction() {
        return deduction;
    }

    public void setDeduction(String deduction) {
        this.deduction = deduction;
    }

    public String getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
    }

    public String getProfitSharing() {
        return profitSharing;
    }

    public void setProfitSharing(String profitSharing) {
        this.profitSharing = profitSharing;
    }


    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getCartType() {
        return cartType;
    }

    public void setCartType(String cartType) {
        this.cartType = cartType;
    }

    public String getCartCount() {
        return cartCount;
    }

    public void setCartCount(String cartCount) {
        this.cartCount = cartCount;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCartId() {
        return cartId;
    }

    public void setCartId(String cartId) {
        this.cartId = cartId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getCartNum() {
        return cartNum;
    }

    public void setCartNum(String cartNum) {
        this.cartNum = cartNum;
    }

    public String getCoverPhoto() {
        return coverPhoto;
    }

    public void setCoverPhoto(String coverPhoto) {
        this.coverPhoto = coverPhoto;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public List<StoreOrderCartDto> getStoreOrderCartDtos() {
        return storeOrderCartDtos;
    }

    public void setStoreOrderCartDtos(List<StoreOrderCartDto> storeOrderCartDtos) {
        this.storeOrderCartDtos = storeOrderCartDtos;
    }

    public StoreOrderAddressDto getStoreOrderAddressDto() {
        return storeOrderAddressDto;
    }

    public void setStoreOrderAddressDto(StoreOrderAddressDto storeOrderAddressDto) {
        this.storeOrderAddressDto = storeOrderAddressDto;
    }

}
